<template>
	<view class="container">
		<headerTop class="header">
		</headerTop>
		<image class="img1" src="https://images.linglinggong.net/static/action/gzh3.png" mode=""></image>
		<image class="img2" :show-menu-by-longpress="true" src="https://images.linglinggong.net/static/action/gzh2.png"
			mode="">
		</image>
	</view>
</template>
<script>
	export default ({
		data() {
			return {}
		},
		methods: {},
		onShareAppMessage() {
			if (uni.getStorageSync('userType') == 1) {
				return {
					title: "足不出户，免费招工",
					desc: "线上招募零工，工价透明，免费使用",
					path: `/pages/start-n/start-n`,
					imageUrl: 'https://images.linglinggong.net/static/employer-share.jpg',
					success: res => {}
				}
			} else {
				return {
					title: "在家找日结兼职，工种齐全",
					desc: "免费使用，提前在家找日结兼职",
					path: `/pages/start-n/start-n`,
					imageUrl: 'https://images.linglinggong.net/static/employee-share.jpg',
					success: res => {}
				}
			}
		},
	})
</script>
<style lang="less" scoped>
	.container {
		text-align: center;
		background: linear-gradient(rgba(254, 35, 55, 1), rgba(212, 0, 0, 1));
		height: 4940rpx;
		position: relative;

		.header {
			position: absolute;
			top: 0;
		}

		.img1 {
			margin-top: 160rpx;
			width: 100%;
			height: 4606rpx;
		}

		.img2 {
			width: 408rpx;
			height: 408rpx;
			position: absolute;
			left: 50%;
			top: 830rpx;
			transform: translateX(-50%);
			z-index: 9;
		}
	}
</style>